package com.lyy.king.tools.interfaces.impl;

import com.lyy.king.common.core.domain.Result;
import com.lyy.king.tools.interfaces.ExcelOperatorInterface;
import com.lyy.king.tools.model.request.ImportExcelRequest;
import com.lyy.king.tools.service.file.ExcelOperatorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * excel操作
 * @ClassDescription:
 * @JdkVersion: 1.8
 * @Author: cdx
 * @Created: 2024/1/10 20:37
 */
@Service
public class ExcelOperatorInterfaceImpl implements ExcelOperatorInterface {
    @Autowired
    ExcelOperatorService excelOperatorService;
    @Override
    public Result<Boolean> importExcel(ImportExcelRequest request) {
        return Result.succcess(excelOperatorService.importExcel(request));
    }
}
